package com.cookie.framework.bmob;

import cn.bmob.v3.BmobObject;

/**
 * 项目名:    MeetProject
 * 包名:      com.cookie.framework.bmob
 * 文件名:    SquareSet
 * 创建者:    cookie
 * 创建时间:   2020/5/30 17:58
 * 描述:      广场的数据库
 */

public class SquareSet extends BmobObject {

    //文本
    public static final int PUSH_TEXT = 0;
    //图片
    public static final int PUSH_IMAGE = 1;
    //音乐
    public static final int PUSH_MUSIC = 2;
    //视频
    public static final int PUSH_VIDEO = 3;

    //发送类型
    private int pushType;

    //发布者的ID
    private String userId;

    //发送时间
    private long pushTime;

    //文字
    private String text;

    //图片
    //音乐
    //视频
    private String mediaUrl;

    public static int getPushText() {
        return PUSH_TEXT;
    }

    public static int getPushImage() {
        return PUSH_IMAGE;
    }

    public static int getPushMusic() {
        return PUSH_MUSIC;
    }

    public static int getPushVideo() {
        return PUSH_VIDEO;
    }

    public int getPushType() {
        return pushType;
    }

    public void setPushType(int pushType) {
        this.pushType = pushType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public long getPushTime() {
        return pushTime;
    }

    public void setPushTime(long pushTime) {
        this.pushTime = pushTime;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getMediaUrl() {
        return mediaUrl;
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl;
    }
}
